{% extends "projects/base.html" %}

{% load task_tags %}
{% load deliverable_tags %}
{% load objective_tags %}
{% load aim_tags %}
{% load work_package_tags %}
{% load project_tags %}

{% block head_title %}Search Projects{%  endblock %}

{% block body %}
  <h2>Search Results (Projects)</h2>

  {% if project_list %}
    <h2>Project</h2>
    {% list_projects project_list %}
  {% endif %}

  {% if work_package_list %}
    <h2>Work Packages</h2>
    {% list_work_packages work_package_list %}
  {% endif %}

  {% if aim_list %}
    <h2>Aims</h2>
    {% list_aims aim_list %}
  {% endif %}

  {% if objective_list %}
    <h2>Objectives</h2>
    {% list_objectives objective_list %}
  {% endif %}

  {% if deliverable_list %}
    <h2>Deliverables</h2>
    {% list_all deliverable_list %}
  {% endif %}

  {% if task_list %}
    <h2>Tasks</h2>
    {% list_tasks task_list %}
  {% endif %}

{% endblock %}
